/*
 * 英才汇硕信息科技有限公司 拥有本软件版权 2021 并保留所有权利。
 * Copyright 2021, YCHS Information&Science Techology Co.,Ltd,
 * All right reserved.
 */
package com.ychs.lawyerback.service;

import com.ychs.lawyerback.dto.LawyerOptDTO;
import com.ychs.lawyerback.dto.LawyerQueryDTO;
import com.ychs.lawyerback.pojo.DocumentEntity;
import com.ychs.lawyerback.pojo.LawyerEntity;
import com.ychs.lawyerback.vo.LawyerQueryVo;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * @author mayujing
 * @version 1.0
 */
public interface LawyerService {
    Map<String, Object> getLawyersByCondition(LawyerQueryDTO lawyerQueryDTO);


    int editLawyer(LawyerOptDTO lawyerOptDTO) throws IOException;


    int deleteLawyer(List<Long> ids);

    List<DocumentEntity> getFilesByLawyerIds(List<Long> ids);

    Long addLawyer(LawyerOptDTO lawyerDTO) throws IOException, IOException;
    LawyerQueryVo getLawyersByCondition(Long lawyerId);

    LawyerQueryVo getByUserId(Long userId);
}
